#ifndef MAINSCENE_H
#define MAINSCENE_H
#include"chooselevelscene.h"
#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui { class MainScene; }
QT_END_NAMESPACE

class MainScene : public QMainWindow
{
    Q_OBJECT

public:
    MainScene(QWidget *parent = nullptr);
    //重新paintEvent事件，画背景图
    void paintEvent(QPaintEvent *);

    ~MainScene();
    ChooseLevelScene * chooseScene = NULL;
private:
    Ui::MainScene *ui;
};
#endif // MAINSCENE_H
